package com.loan.entity;
//客户表

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@TableName("customer")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer empId;

    @TableField(exist = false)
    private Emp emp;

    private String level;

    private String del;

    private Integer userId;

    @TableField(exist = false)
    private User user;

}